package com.edu.exam.enums.curriculum.questionbank;

/**
 * 附件类型枚举
 * 
 * 试题附件的类型定义
 * 
 * @author System
 * @version 1.0.0
 */
public enum AttachmentType {
    IMAGE("IMAGE", "图片"),
    AUDIO("AUDIO", "音频"),
    VIDEO("VIDEO", "视频"),
    DOCUMENT("DOCUMENT", "文档"),
    ARCHIVE("ARCHIVE", "压缩包"),
    OTHER("OTHER", "其他");

    private final String code;
    private final String description;

    AttachmentType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}